有声小说吧[听].js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. var rule = {
  2. 类型: '听书',
  3. title: '有声小说吧',
  4. 编码: 'gb18030',
  5. // host: 'http://m.ysxs8.vip',
  6. host: 'http://m.ysxs8.top',
  7. url: '/downlist/fyclass_fypage.html',
  8. searchUrl: '/search.asp?page=fypage&searchword=**&searchtype=-1',
  9. searchable: 2,
  10. quickSearch: 0,
  11. headers: {
  12. 'User-Agent': 'MOBILE_UA'
  13. },
  14. timeout: 5000,
  15. // homeUrl:'/fenlei/',
  16. // class_parse: '.pd-class:eq(0) dd;a&&Text;a&&href;.*/(.*?).html',
  17. class_name: '网络玄幻&恐怖悬疑&传统武侠&都市言情&官场刑侦&历史军事&探险盗墓&职场商战&明朝那些事儿&评书下载&相声戏曲&人物传记&广播剧&百家讲坛&外语读物&有声文学&儿童读物&管理营销',
  18. class_url: 'r52&r17&r12&r13&r14&r15&r45&r81&r36&r3&r7&r16&r18&r32&r35&r41&r4&r6',
  19. play_parse: true,
  20. lazy: '',
  21. limit: 6,
  22. // double:true,
  23. 推荐: '.list-ul .list-li;.list-name&&Text;*;.module-slide-author&&Text;*',
  24. 一级: '.book-ol&&li;h4&&Text;img&&data-original;.book-meta&&Text;a&&href',
  25. 二级: {
  26. // title:'h2&&Text;.book-cell .book-rand-a:eq(2)&&Text',
  27. title: 'h1&&Text;.book-cell .book-rand-a:eq(0)&&a&&Text',
  28. img: '.book img&&src',
  29. // desc:';;;;.book-des p&&Text',
  30. desc: ';;;.book-rand-a:eq(2)&&Text;.book-des p&&Text',
  31. content: '.book-des--p&&Text',
  32. tabs: '.playlist-top&&h2',
  33. // lists:'js:pd=jsp.pd;let url=pd(html,".bookbutton&&a&&href");log(url);html=request(url);let v=pd(html,".booksite&&script&&Html");var document={};var VideoListJson;VideoListJson=eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]);log(typeof VideoListJson);let list1=VideoListJson[0][1];LISTS=[list1];log(LISTS);',
  34. // 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
  35. // lists:'#playlist:eq(#id)&&ul&&li',
  36. lists: '#playlist ul li',
  37. },
  38. 搜索: '*',
  39. }